//
// Created by tang on 23-4-1.
//

#ifndef BINDABLE_HPP
#define BINDABLE_HPP

#include "sdk_config.h"
#include <tuple>
#include <any>
#include <optional>
#include "content/data_provider.hpp"
#include "utils/safe_value.hpp"

class PI_API bindable_base {
public:
    using binddata_t = std::optional<std::tuple<value_type, std::any>>;

    virtual ~bindable_base();
    virtual binddata_t get_data(const std::string &key) = 0;
};

#endif // BINDABLE_HPP
